package com.vanzo.tisen.agingtest;

/**
 * Created by Administrator on 2017/3/28.
 */

public class PermissionException extends Exception {

    public static final String RECORD_PERMISSION_EXCEPTION = "请开启录音权限";
    public static final String CAMERA_PERMISSION_EXCEPTION = "请开启录像权限";
    private String errorTip;
    public PermissionException(String message) {
        super(message);
        errorTip = message;
    }
    public String toast(){
        return errorTip;
    }
}
